﻿import request from '/@/utils/request';
enum Api {
  Addcar_searchkey = '/api/car_searchkey/add',
  Deletecar_searchkey = '/api/car_searchkey/delete',
  Updatecar_searchkey = '/api/car_searchkey/update',
  Pagecar_searchkey = '/api/car_searchkey/page',
}

// 增加热词
export const addcar_searchkey = (params?: any) =>
	request({
		url: Api.Addcar_searchkey,
		method: 'post',
		data: params,
	});

// 删除热词
export const deletecar_searchkey = (params?: any) => 
	request({
			url: Api.Deletecar_searchkey,
			method: 'post',
			data: params,
		});

// 编辑热词
export const updatecar_searchkey = (params?: any) => 
	request({
			url: Api.Updatecar_searchkey,
			method: 'post',
			data: params,
		});

// 分页查询热词
export const pagecar_searchkey = (params?: any) => 
	request({
			url: Api.Pagecar_searchkey,
			method: 'post',
			data: params,
		});


